import { def } from "@vue/shared";

/* 
环境配置封装 开发、测试和线上
*/
const env =
    import.meta.env.MODE || 'prod';
const EnvConfig = {
    dev: {
        baseApi: '/',
        mockApi: 'https://www.fastmock.site/mock/483ab20efda845642d2bfe2373d35c16/api'
    },
    test: {
        baseApi: '/test.futurefe.com/api',
        mockApi: 'https://www.fastmock.site/mock/483ab20efda845642d2bfe2373d35c16/api'
    },
    prod: {
        baseApi: '/futurefe.com/api',
        mockApi: 'https://www.fastmock.site/mock/483ab20efda845642d2bfe2373d35c16/api'
    }
}
export default {
    env,
    mock: true,
    namespace: 'manager',
    ...EnvConfig[env]
}